package com.maila.xiaoaobusiness.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.maila.xiaoaobusiness.R;
import com.maila.xiaoaobusiness.utils.StartActivityUtils;
import com.zhy.autolayout.AutoRelativeLayout;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by mark on 2017/11/23.
 */

public class BusinessStatusActivity extends AppCompatActivity {
    @BindView(R.id.white_return_iv)
    AutoRelativeLayout whiteReturnIv;
    @BindView(R.id.tv_shop_namee)
    TextView tvShopNamee;
    @BindView(R.id.tv_change)
    TextView tvChange;
    @BindView(R.id.user_icon)
    ImageView userIcon;
    @BindView(R.id.tv_status)
    TextView tvStatus;
    @BindView(R.id.open_time)
    TextView openTime;
    @BindView(R.id.tv_open_hint)
    TextView tvOpenHint;
    @BindView(R.id.btn_change_status)
    TextView btnChangeStatus;
    @BindView(R.id.tv_status_hint)
    TextView tvStatusHint;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_businesstatus);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.white_return_iv, R.id.tv_change, R.id.btn_change_status})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.white_return_iv:
                finish();
                break;
            case R.id.tv_change:
                StartActivityUtils.start(this,BusinessTimeActivity.class);
                break;
            case R.id.btn_change_status:
                break;
        }
    }
}
